package com.action;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController     //控制层，Rest表示返回是字符串
public class HelloAction {

    @RequestMapping("/hello")
    public String hello(){
        return "hello,springboot";
    }

}
